package club.kingyin.kyblog.core.utils.jcache;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author : kingyins
 * @version : 1.0
 * @program : Ky-Blog
 * @description : 在此处添加类描述
 * @create : 2021年08月17日 17:26
 **/
@Data
@Component
@PropertySource(value= {"classpath:/jcache.properties","file:config/application.properties"},ignoreResourceNotFound = true)
@ConfigurationProperties(prefix = "jcache")
public class ConfigYml {

    private String folder;
    private String path;
    private String name;
    private boolean recovery = true;
    // accurate default
    private String monitor = "acc";
    private boolean primary = true;
    private String desc;
}
